Skip to content

Accessing DB by URL when using docker compose #19

Open
@RomanShushakov

Description

@RomanShushakov

Hello everyone,

Sorry for newbie question, when I run redis and postgres examples locally everything works fine, but when I tried to run redis and postgres examples by using docker the following errors appear:

  1. For redis example
    redis_example_issue

  2. For postgres example
    postgres_example_issue

After studying "A complete microservice demo example which works fine, I added DNS_SERVER: 127.0.0.11:53 variable in docker-compose file at postgres and redis example.
postgres_example_changes

Postgres example works now.
postgres_example_works

But this trick not works for redis example. If you have some time, could you please help me to manage with issue in redis example?

Thanks,
Roman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions